package com.wgchao.authodemo.userInterface.vo.agency;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName: AgencySave
 * @author: wgchao
 * @createTime: 2019/12/11 9:30 AM
 * @Description: 保存
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel(value=" AgencySaveVO ",description="机构保存信息")
public class AgencySaveVO implements Serializable {

    /**
     * 机构名称
     */
    @NotNull(message = "机构名称为空")
    @ApiModelProperty(value="机构名称",name="agencyName")
    private String agencyName;

    /**
     * 备注
     */
    @ApiModelProperty(value="备注",name="remark", allowEmptyValue = true)
    private String remark;


    /**
     * 上级机构编号
     */
    @NotNull(message = "上级机构编号为空")
    @ApiModelProperty(value="上级机构编号",name="parAgencyCode")
    private String parAgencyCode;


}
